<?php
include_once('common/header.php');
if($AppUI->id <= 0 || (isset($_SESSION['news']) && (($_SESSION['news']&1<<2) == 0))) {
	Vfriend_Function::redirect(HOST_BACKEND);
}
$strRefer	= isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
$intNewId 	= $objRequest->getParam('newid', 0);
$objNews	= new News();
$arrInfo	= $objNews->get($intNewId);
$this->view->row 	= $arrInfo;
$this->view->refer 	= $strRefer;
?>